package com.vortex.cloud.sample.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.checkerframework.common.value.qual.IntRange;



import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;

/**
 * @author 王林
 * @version 1.0
 * @date 2021-10-21 周四
 * @time 14:01
 * @description
 */
@Data
@Schema(name = "StatsInfoVo", title = "统计信息Vo", description = "统计信息")
public class StatsInfoVo {

    /**
     * 日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Schema(name = "date", description = "日期")
    private LocalDate taskDate;

    /**
     * 时间
     */
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+8")
    @Schema(name = "taskTime", description = "时间")
    private LocalTime taskTime;

    /**
     * 年月日时分秒
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(name = "taskDateTime", description = "年月日时分秒")
    private LocalDateTime taskDateTime;

    /**
     * 知晓率
     */
    @Schema(name = "awarenessRate", description = "知晓率")
    private Double awarenessRate;

    /**
     * 参与率
     */
    @Schema(name = "participationRate", description = "参与率")
    private Double participationRate;

    /**
     * 准确率
     */
    @Schema(name = "accuracyRate", description = "准确率")
    private Double accuracyRate;

    /**
     * 满意度
     */
    @Schema(name = "satisfaction", description = "满意度")
    private Double satisfaction;

    /**
     * 垃圾减量率
     */
    @Schema(name = "reductionRate", description = "垃圾减量率")
    private Double reductionRate;

    /**
     * 处理率
     */
    @Schema(name = "processRate", description = "处理率")
    private Double processRate;

    /**
     * 利用率
     */
    @Schema(name = "useRate", description = "利用率")
    private Double useRate;

    /**
     * 碳排放减少量
     */
    @Schema(name = "carbonEmissions", description = "碳排放减少量")
    private Double carbonEmissions;
}
